let {createConnection} = require('mysql');

let connect = createConnection({
    host: 'localhost',//ip
    user: 'root',//myuser
    password: 'rootroot',//mypassword
    port: 3306,//mysql都是3306
    database:'day0812'
});

module.exports = connect;
